<template>
  <div class="home-page">
<!--    <p class="title">你好！{{name}} 🥳, 欢迎使用毕设选导师系统！</p>-->
    <div class="img-box">
      <img src="../../../public/img/welcome.png" alt="">
    </div>
  </div>
</template>

<script setup lang="ts">
const name = JSON.parse(<string>sessionStorage.getItem("userInfo")).name;
const userType = sessionStorage.getItem("userType");
</script>

<style scoped>
.home-page{
  /*解决BFC问题*/
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
.title{
  font-size: 1.3rem;
  font-weight: 700;
  position: absolute;
  top: 20px;
}
.img-box{
  text-align: center;
}
.img-box img{
  max-width: 950px;
}

</style>
